Carbon


KCSetInteractionAllowed

Header: Keychain.h Carbon status: Under Evaluation

Enables or disables Keychain Manager functions that display a user interface.

OSStatus KCSetInteractionAllowed (
    Boolean state
);
Parameter descriptions
state

A flag that indicates whether the Keychain Manager will display a user interface. If you pass true, user interaction is allowed. This is the default value. If false, Keychain Manager functions that normally display a user interface will instead return an error.

function result

A result code.

DISCUSSION

The KCSetInteractionAllowed function enables you to control whether the functions KCLock, KCUnlock, and KCChangeSettings display a user interface. Note that failure to re-enable user interaction will affect other clients of the Keychain Manager. By default, user interaction is permitted.

VERSION NOTES

Available beginning with Keychain Manager 2.0.


© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)